package com.study.service.impl;

import com.study.dao.OrderDao;
import com.study.domain.Order;
import com.study.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author MI
 * @version 1.0
 * @date 2020/10/18 17:18
 */
@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    OrderDao orderDao;

    @Override
    public void createOrder(Order order) {
        orderDao.save(order);
    }
}
